package com.test.springai.service;

import java.util.concurrent.CompletableFuture;

/**
 * Created with IntelliJ IDEA.
 *
 * @description:
 * @author: liuziyang
 * @since: 9/3/25 12:12 PM
 * @modifiedBy:
 * @version: 1.0
 */
public interface QueryRewriter {
  /**
   * Rewrite single query completable future.
   *
   * @param originalQuery the original query
   * @return the completable future
   */
  CompletableFuture<String> rewriteSingleQuery(String originalQuery);
}
